/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javatowerdefense;

import com.sun.scenario.scenegraph.SGGroup;
import com.sun.scenario.scenegraph.SGImage;

/**
 *
 * @author Norvin Altamirano
 */
public class Tile extends SGGroup{
    
    SGImage img;
    public Tile (String img_name, TileSet tileset){
        img = new SGImage();
        img.setImage(tileset.getImage(img_name));
        this.add(img);
    }
}
